using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace TTCN_QLDiemC3
{
    public partial class ThongKeDiemHKReport : DevExpress.XtraReports.UI.XtraReport
    {
        public ThongKeDiemHKReport()
        {
            InitializeComponent();
        }

        public void Load(String ky, String namhoc, String lop, String khoi)
        {
            xrlblKy.Text = ky;
            xrlblNamHoc.Text = namhoc;
            xrlblLop.Text = lop;
            xrlblKhoi.Text = khoi;
            xrMaHS.DataBindings.Add("Text", DataSource, "id_HocSinh");
            xrTenHS.DataBindings.Add("Text", DataSource, "hoTenHS");
            xrNgaySinh.DataBindings.Add("Text", DataSource, "NgaySinh");
            xrDiemTongKet.DataBindings.Add("Text", DataSource, "DiemTongKet");
        }

    }
}
